home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 June: Reference Library / Dev.CD Jun 96 RL / Dev.CD Jun 96 RL.toast / Technical Documentation / develop / develop Issue 24 / develop Issue 24 code / Scriptable Database 1.0a15 / Base / UniqueID.cp < prev    next >
Encoding:
Text File  |  1996-02-19  |  268 b   |  14 lines  |  [TEXT/CWIE]

  1.  
  2. #include "UniqueID.h"
  3. #include "PseudoRandom.h"
  4.  
  5. Int64 GenerateUniqueID()
  6. {
  7.     //
  8.     // In general this is insufficient, but it will get us up and running.
  9.     // Should be good enough for our document ID needs.
  10.     //
  11.     return Int64(PseudoRandomLong(), PseudoRandomLong());
  12. }
  13.  
  14.